import {request} from "@/utils/service"

export function add(data) {
    return request({
        url: '/proxy/add',
        method: 'post',
        data
    })
}

export function getList() {
    return request({
        url: '/proxy/getList',
        method: 'post',
    })
}

export function update(data) {
    return request({
        url: '/proxy/update',
        method: 'post',
        data
    })
}
export function del(ids) {
    return request({
        url: '/proxy/del',
        method: 'post',
        data: ids
    })
}
export function start(data) {
    return request({
        url: '/proxy/start',
        method: 'post',
        data
    })
}
export function stop(data) {
    return request({
        url: '/proxy/stop',
        method: 'post',
        data
    })
}